package com.huaxiafinance.management.mapper;

import com.huaxiafinance.management.dto.request.trialDto;
import com.huaxiafinance.management.model.YfqUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface YfqUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(YfqUser record);

    int insertSelective(YfqUser record);

    YfqUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(YfqUser record);

    int updateByPrimaryKey(YfqUser record);

    YfqUser selectByUserId(@Param("userId") String userId);

    YfqUser selectByPhone(@Param("phone") String phone);

    List<YfqUser> queryAllCustomers(trialDto dto);

    int updateByUserUuid(@Param("userUuid") String userUuid,@Param("type") Integer type);

    int countAllCustomers(trialDto dto);
}